package com.example.trackcircuitdiagnosis.dto;

import com.example.trackcircuitdiagnosis.entity.DeviceEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class AreaDTO {

    @Schema(description = "区间id")
    private int areaId;

    @Schema(description = "区间名字")
    private String areaName;

    @Schema(description = "区间相对位置")
    private String areaPosition;

    @Schema(description = "区间设备")
    private List<DeviceEntity> devices;
}